package com.whale.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.whale.entity.OrderDetail;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class OrdersSubmitDTO implements Serializable {
    //地址
    private String addressName;
    //付款方式
    private int payMethod;
    //备注
    private String remark;
    //打包费
    private Integer packAmount;
    //下单类型
    private Integer type;
    //运送费
    private Integer shippingAmount;
    //总金额
    private BigDecimal amount;
    //订单明细
    private List<OrderDetail> OrderDetailList;
}
